home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_mtools.idb / usr / freeware / catman / u_man / cat1 / mattrib.Z / mattrib
Encoding:
Text File  |  1998-10-28  |  3.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      mmmmaaaattttttttrrrriiiibbbb((((1111))))          mmmmttttoooooooollllssss----3333....9999....1111 ((((11110000JJJJuuuunnnn99998888))))        mmmmaaaattttttttrrrriiiibbbb((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNaaaammmmeeee
  9.       mattrib - change MSDOS file attribute    flags
  10.  
  11.  
  12.  
  13.      NNNNooootttteeee
  14.       This manpage has been    automatically generated    from mtools's
  15.       texinfo documentation.  However, this    process    is only
  16.       approximative, and some items, such as crossreferences,
  17.       footnotes and    indices    are lost in this translation process.
  18.       Indeed, this items have no appropriate representation    in the
  19.       manpage format.  Moreover, only the items specific to    each
  20.       command have been translated,    and the    general    information
  21.       about    mtools has been    dropped    in the manpage version.     Thus
  22.       I strongly advise you    to use the original texinfo doc.
  23.  
  24.       *    To generate a printable copy from the texinfo doc, run
  25.            the following commands:
  26.  
  27.               ....////ccccoooonnnnffffiiiigggguuuurrrreeee;;;; mmmmaaaakkkkeeee    ddddvvvviiii;;;; ddddvvvviiiippppssss mmmmttttoooooooollllssss....ddddvvvviiii
  28.  
  29.  
  30.  
  31.       *    To generate a html copy,     run:
  32.  
  33.               ....////ccccoooonnnnffffiiiigggguuuurrrreeee;;;; mmmmaaaakkkkeeee    hhhhttttmmmmllll
  34.  
  35.            A premade html can be found at:
  36.            `http://www.tux.org/pub/knaff/mtools'
  37.  
  38.       *    To generate an info copy    (browsable using emacs'    info
  39.            mode), run:
  40.  
  41.               ....////ccccoooonnnnffffiiiigggguuuurrrreeee;;;; mmmmaaaakkkkeeee    iiiinnnnffffoooo
  42.  
  43.  
  44.  
  45.       The texinfo doc looks    most pretty when printed or as html.
  46.       Indeed, in the info version certain examples are difficult
  47.       to read due to the quoting conventions used in info.
  48.  
  49.      DDDDeeeessssccccrrrriiiippppttttiiiioooonnnn
  50.       Mattrib is used to change MS-DOS file    attribute flags. It
  51.       has the following syntax:
  52.  
  53.       mattrib [-a|+a] [-h|+h] [-r|+r] [-s|+s] [-/]    [-X] _m_s_d_o_s_f_i_l_e
  54.       [ _m_s_d_o_s_f_i_l_e_s ... ]
  55.  
  56.       Mattrib adds attribute flags to an MS-DOS file (with the `+'
  57.       operator) or remove attribute    flags (with the    `-' operator).
  58.  
  59.       Mattrib supports the following attribute bits:
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 7/15/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      mmmmaaaattttttttrrrriiiibbbb((((1111))))          mmmmttttoooooooollllssss----3333....9999....1111 ((((11110000JJJJuuuunnnn99998888))))        mmmmaaaattttttttrrrriiiibbbb((((1111))))
  71.  
  72.  
  73.  
  74.       a    Archive bit.  Used by some backup programs to indicate
  75.            a new file.
  76.  
  77.       r    Read-only bit.  Used to indicate    a read-only file.
  78.            Files with this bit set cannot be erased    by DEL nor
  79.            modified.
  80.  
  81.       s    System bit.  Used by MS-DOS to indicate a operating
  82.            system file.
  83.  
  84.       h    Hidden bit.  Used to make files hidden from DIR.
  85.  
  86.       Mattrib supports the following command line flags:
  87.  
  88.       /    Recursive.  Recursively list the    attributes of the
  89.            files in    the subdirectories.
  90.  
  91.       X    Concise.    Prints the attributes whithout any whitespace
  92.            padding.     This is convenient for    script.     If neither
  93.            the "/" option is given,    nor the    _m_s_d_o_s_f_i_l_e contains a
  94.            wildcard, and there is only one Msdos file parameter on
  95.            the command line, only the attribute is printed,    and
  96.            not the filename.  This option is convenient for
  97.            scripts
  98.  
  99.      SSSSeeeeeeee AAAAllllssssoooo
  100.       Mtools' texinfo doc
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 7/15/98)
  130.  
  131.  
  132.  
  133.